Method: Net::LDAP::Entry#[]

Defined in:
lib/net/ldap/entry.rb

#[](name) ⇒ Object

– We have to deal with this one as we do with []= because this one and not the other one gets called in formulations like entry << cn.

[View source]

98
99
100
101
# File 'lib/net/ldap/entry.rb', line 98

def [] name # :nodoc:
  name = name.to_s.downcase.intern unless name.is_a?(Symbol)
  @myhash[name]
end